body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

.log-entry {
    border: 1px solid #ddd;
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.timestamp {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    color: white;
    font-size: 12px;
    margin: 0 5px;
    transition: opacity 0.2s;
}

/* 标签颜色 */
.tag-ANDROID_ID { background-color: #ff5733; }  /* 醒目的橙红色 */
.tag-DEVICE_ID { background-color: #e74c3c; }   /* 深红色 */
.tag-PERMISSION { background-color: #3498db; }   /* 蓝色 */
.tag-LOCATION { background-color: #2ecc71; }     /* 绿色 */
.tag-CAMERA { background-color: #f1c40f; }       /* 黄色 */
.tag-MICROPHONE { background-color: #9b59b6; }   /* 紫色 */
.tag-CONTACTS { background-color: #34495e; }     /* 深蓝色 */
.tag-CLIPBOARD { background-color: #16a085; }    /* 青色 */
.tag-SMS { background-color: #c0392b; }          /* 暗红色 */
.tag-PHONE { background-color: #e67e22; }        /* 橙色 */
.tag-CALENDAR { background-color: #27ae60; }     /* 深绿色 */
.tag-ACCOUNTS { background-color: #2980b9; }     /* 蓝灰色 */
.tag-PACKAGES { background-color: #8e44ad; }     /* 紫罗兰 */
.tag-STORAGE { background-color: #d35400; }      /* 褐色 */
.tag-PROCESS { background-color: #7f8c8d; }      /* 灰色 */
.tag-OTHER { background-color: #95a5a6; }        /* 浅灰色 */

.stack-trace {
    white-space: pre-wrap;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
    margin-top: 10px;
}

.refresh-status {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tag-filters {
    margin: 20px 0;
    line-height: 2.2;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.tag-filter {
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.tag-filter:hover {
    opacity: 0.8;
}

.tag-filter.active {
    opacity: 1;
}

.count-badge {
    font-size: 10px;
    background: #fff;
    color: #000;
    padding: 0 4px;
    border-radius: 8px;
    margin-left: 4px;
    display: inline-block;
    min-width: 16px;
    text-align: center;
}

#serverInfo {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
}

/* 错误消息样式 */
.error-message {
    color: #e74c3c;
    padding: 10px;
    margin: 10px 0;
    border-left: 4px solid #e74c3c;
    background: #fdf7f7;
    border-radius: 4px;
}

/* 空状态提示 */
.empty-state {
    text-align: center;
    color: #666;
    padding: 40px;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 6px;
    margin: 20px 0;
}
